package cn.javaSong.mapper;

import cn.javaSong.entity.WyySong;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dakai
 * @since 2024-10-24
 */
public interface WyySongMapper extends BaseMapper<WyySong> {

    IPage<WyySong> selectSong(@Param("page") Page page,
                              @Param("songName") String songName);


    WyySong oneRandImg();

    List<WyySong> selectWyy();
}
